package com.bruan.d10_methodreference;

import com.bruan.d8_arrays.Student;

public class CompareByData {
    public static int CompareByAge(Student s1,Student s2){
        return s1.getAge() - s2.getAge();
    }
}

